<template>
	<view class="container">
		<view class="search">
			<liu-search-bar :mode="2" @confirm="confirm" @blur="blur" @input="input" bgColor="#fff"
				searchColor="#1D6FFF" height="56rpx"></liu-search-bar>
		</view>
		<view class="cards" v-for="item in 3" :key="item.id">
			<uni-card title="普通洗车、机油、工时" >
				<view class="order">
					<view class="info">
						<view>下单用户：</view>
						<view>张三</view>
					</view>
					<view class="info">
						<view>实付金额：</view>
						<view>￥30.00</view>
					</view>
					<view class="info">
						<view>核销时间：</view>
						<view> 2020.03.30 14:40 </view>
					</view>
				</view>
				
			</uni-card>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			//点击搜索或者确定
			confirm(e) {
				console.log('confirm搜索内容：' + e)
			},
			//blur事件
			blur(e) {
				console.log('blur搜索内容：' + e)
			},
			//inut事件
			input(e) {
				console.log('input搜索内容：' + e)
			}
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #fff;
	}
	.search {
		width: 710rpx;
		height: 70rpx;
		padding: 20rpx;
		background-color: rgba(239,239,245,1);
	}
	.order{
		color: rgba(16,16,16,1);
		font-size: 28rpx;
		text-align: left;
	}
	.info{
		display: flex;
		margin: 7rpx auto;
	}
	
</style>